<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html>
<html>
	<head>
	    <base href="<%=basePath%>">
		<title>我要充值</title>
		<link rel="stylesheet" href="css/radius.css" type="text/css"></link>
		<script type="text/javascript" src="${ctx}/js/returnTop.js"></script>
        <%@include file="../collect/meta.jsp"%>
    	<style type="text/css">
    		.input{width: 180px; height: 25px; font-size: 14px}
    		.error{color: red}
    		.success{color: green}
    </style>
  </head>
	<body lang="zh-cn">
	<div class="wrapper">	
       <c:import url="/collect/top.jsp"></c:import>
		<div class="main-container" id="main-container">
			<div class="main-container-inner">
				<c:import url="/collect/left.jsp"></c:import>
				<div class="main-content">
					<div class="breadcrumbs" id="breadcrumbs">
						<ul class="breadcrumb">
							<li><i class="icon-home home-icon"></i>商城</li>
							<li>我要充值</li>
						</ul><!-- .breadcrumb -->
					</div>
					<div class="page-content">
						<div class="row">
							<div class="col-xs-12">
							<div class="alert alert-info">
				                 	<button type="button" class="close" data-dismiss="alert">
				                 		<i class="icon-remove"></i>
				                 	</button>
				                 	<p>暂时只支持支付宝的支付方式，充值成功后，服务时间或订单数会立即生效！</p>
				            </div>
								<!-- PAGE CONTENT BEGINS -->  							
				                 <div class="appmsg_edit_item" style="margin:20px;width:300px">
				                 
					              <div class="oinput">
						          	<a class="btn btn-primary radius" href="tradeinfoaction!useAlipayToBalance">在线充值</a>
						          	<span style="position:absolute;	margin-left:15px;">
						          		支付方式：
						          		<label>
						          			<input type="radio" checked="checked">
						          			<img src="${ctx}/images/logo.gif">
						          		</label>
						          	</span>
					              </div>
					              <br>
					              <div id="resultDiv" style="margin-left:10px;">
					              	<font color="red" style="font-size: 15px;">
					              		<c:if test="${backMessage == '1' }">支付成功！</c:if>
									</font>
					              </div>
				                </div>
		                       <!-- PAGE CONTENT ENDS -->
						   </div><!-- /.col -->
						</div><!-- /.row -->
					</div><!-- /.page-content -->
				</div><!-- /.main-content -->
			</div><!-- /.main-container-inner -->
			<a href="#" id="btn-scroll-up" class="btn-scroll-up btn btn-sm btn-inverse" style="position:fixed;bottom:0;">
				<i class="icon-double-angle-up icon-only bigger-110"></i>
			</a>
		</div><!-- /.main-container -->
		<div class="push"></div>
     </div>
     <c:import url="/collect/down.jsp"></c:import>   
  </body>
  <script type="text/javascript">
		$(document).ready(function(){
			//防收回；导入csv：$会员导入
			$('.zfb > ul').show();
			$('.zfb > ul > li > a').eq(0).css("color","red");
			
			// 5秒显示返回结果
			setTimeout("$('#resultDiv').hide()",5000);
	    });
   </script>
</html>